<template>
  <view class="contain">
    <view class="contain-body">
      <text>资讯通知推送</text>
      <u-switch v-model="value" size="18" activeColor="#1890ff"></u-switch>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        value:true
      };
    }
  }
</script>

<style lang="scss" scoped>
  .contain{
    width: 100%;
    height: 100%;
    padding: 20rpx;
    box-sizing: border-box;
    background-color: #f2f2f2;
    .contain-body{
      width: 100%;
      background-color: #fff;
      border-radius: 20rpx;
      padding: 30rpx;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
  }
</style>
